#!/usr/bin/env python
# coding: utf-8

"""
@file: 2.py
@author: cg 
@date: 2020/2/26 17:57
@desc: python运行HTTP
    https://www.hbfu.edu.cn/newsList?type=1
"""
import requests

def retrive_all_news():
    r = requests.post('https://www.hbfu.edu.cn/news/queryListForPage',
                    {"start":0,"limit":20000,"type":1},verify=False)
    print(r.text)

def click_news():
    for i in range(500):
        r = requests.post('https://www.hbfu.edu.cn/news/findById', {"id":6416},verify=False)